package net.sourceforge.peertwitter.core.applications;

import net.sourceforge.peertwitter.core.applications.communication.MBGroupCommunication;
import net.sourceforge.peertwitter.core.applications.storage.MBStorage;
import rice.p2p.commonapi.Application;



public interface PeerTwitter extends Application {
	public void connect();
	public void tweet(String message);
	public MBGroupCommunication getGroupCommunication();
	public MBStorage getMBStorage();
	public void disconnect();
	//TODO: to think how to pass to user interface the followers and last updates
	/* public List<TweetMessage>getLastMessages(); */
}
